package com.zju.demo.dao;

import com.zju.demo.entities.Person;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author 况祥彬
 * @date 2020/12/16 21:56
 **/
@Mapper //有MapperScan之后可以不用
public interface PaymentDao {

    int create(Person p);

    int delete(Integer id);

    int update(Person p);

    Person select(Integer id);

    Person selectByname(String name);
}
